﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WJ.DataSender.Service.Models.ConfigModel
{
    public class PlatformInfo
    {
        /// <summary>
        /// 协议类型
        /// </summary>
        public string ProtocolType { get; set; }
        /// <summary>
        /// 平台名称
        /// </summary>
        public string PlatformName { get; set; }
        /// <summary>
        /// 平台域名
        /// </summary>
        public string PlatformDomain { get; set; }

        /// <summary>
        /// 接口列表
        /// </summary>
        public List<ApiInfo> ApiList { get; set; }
    }

    /// <summary>
    /// 接口信息
    /// </summary>
    public class ApiInfo
    {
        /// <summary>
        /// 接口序号
        /// </summary>
        public int ApiNo { get; set; }
        /// <summary>
        /// API的名称
        /// </summary>
        public string ApiName { get; set; }

        /// <summary>
        /// Api的路由
        /// </summary>
        public string Route { get; set; }

        /// <summary>
        /// 停止发送数据
        /// </summary>
        public bool StopSend { get; set; }
    }
}
